package com.shop.technicalservice.dao.order;

import java.util.List;

import com.shop.technicalservice.model.order.Indent;

public interface IndentDao {
	
	public Indent save(Indent transientInstance) throws Exception;
	
	public void delete(Indent persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Indent merge(Indent detachedInstance) throws Exception;
	
	public Indent findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Indent instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Indent instance)  throws Exception;
	
	public void attachClean(Indent instance)  throws Exception;
	
	public List findByStatus(Object status)  throws Exception;
	
	public List findByUserName(Object userName) throws Exception;
	
	public List findByPostalCode(Object postalCode)  throws Exception;
	
	public List findByPhone(Object phone) throws Exception;
	
	public List findByAddress(Object address) throws Exception ;
	
	public List findByConsignee(Object consignee)  throws Exception;
}
